﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utility.Enum;

namespace Model.Flow
{
    /// <summary>
    /// 过期数据模型
    /// </summary>
    public class ExpireDateModel
    {
        /// <summary>
        /// 是否设置审核过期
        /// </summary>
        public bool IsSetExamineExpire { get; set; }

        /// <summary>
        /// 过期日期
        /// </summary>
        public int ExpireDate { get; set; }

        /// <summary>
        /// 过期类型：1天，2小时
        /// </summary>
        public int ExpireType { get; set; }

        /// <summary>
        /// 是否过期提醒
        /// </summary>
        public bool IsExpireRemind { get; set; }

        /// <summary>
        /// 提醒内容
        /// </summary>
        public string RemindContent { get; set; } = string.Empty;

        /// <summary>
        /// 提前多少分钟，提示过期
        /// </summary>
        public int SoonExpireDate { get; set; }

        /// <summary>
        /// 超时动作
        /// </summary>
        public ExpireActionEnum ExpireAction { get; set; } = ExpireActionEnum.Approve;

    }
}
